* lisp/simple.el (pop-global-mark): Mention the buffer name in the
error message. Suggested by T.V Raman <raman@google.com>.
(<= position (point-max)))
(if widen-automatically
(widen)
- (error "Global mark position is outside accessible part of buffer")))
+ (error "Global mark position is outside accessible part of buffer %s"
+ (buffer-name buffer))))
(goto-char position)
(switch-to-buffer buffer)))
\f